package com.spsoft.vatoutinv.model.vo.matchflow;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 发票匹配流水-发票明细信息
 *
 * @author : chenxudong
 * @date : 2024/6/26 9:17
 */
@Data
@ApiModel(value = "发票匹配流水-发票明细信息对象")
public class VmsMatchInvoiceItemVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long iviid;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "项目名称")
    private String spmc;

    /**
     * 规格型号
     */
    @ApiModelProperty(value = "规格型号")
    private String ggxh;

    /**
     * 计量单位
     */
    @ApiModelProperty(value = "计量单位（面积单位）")
    private String jldw;

    /**
     * 购买数量
     */
    @ApiModelProperty(value = "数量")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal gmsl;

    /**
     * 单价
     */
    @ApiModelProperty(value = "单价")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal dj;

    /**
     * 含税单价
     */
    @ApiModelProperty(value = "含税单价")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal hsdj;

    /**
     * 不含税金额
     */
    @ApiModelProperty(value = "不含税金额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal je;

    /**
     * 含税金额
     */
    @ApiModelProperty(value = "含税金额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal hsje;

    /**
     * 税率
     */
    @ApiModelProperty(value = "税率")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal sl;

    /**
     * 税额
     */
    @ApiModelProperty(value = "税额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal se;

}
